package com.lynn.mmcc.user.server;
import java.util.List;

import com.lynn.mmcc.user.dao.HotelDao;
import com.lynn.mmcc.user.dao.PriceDao;
import com.lynn.mmcc.user.dao.RoomDao;
import com.lynn.mmcc.user.request.Hoteldetail;
import com.lynn.mmcc.user.request.Hoteloutline;
import com.lynn.mmcc.user.request.Roomdetail;
import com.lynn.mmcc.user.respose.Rhotel;
import com.lynn.mmcc.user.respose.Rroom;

public class serverServiceImpl implements serverService {


	private HotelDao hotelDao;
	
	private RoomDao roomDao;
	
	private PriceDao priceDao;
	
	

	public HotelDao getHotelDao() {
		return hotelDao;
	}

	public void setHotelDao(HotelDao hotelDao) {
		this.hotelDao = hotelDao;
	}

	public RoomDao getRoomDao() {
		return roomDao;
	}

	public void setRoomDao(RoomDao roomDao) {
		this.roomDao = roomDao;
	}

	public PriceDao getPriceDao() {
		return priceDao;
	}

	public void setPriceDao(PriceDao priceDao) {
		this.priceDao = priceDao;
	}

	public List<Rhotel> getHotelList(Hoteloutline hoteloutline) {
		List<Rhotel> hotels = hotelDao.queryAllHotel(hoteloutline);
		return hotels;
	}

	public List<Rroom> getRoomlList(Hoteldetail hoteldetail) {
		// TODO Auto-generated method stub
		return null;
	}

	public Rroom getRoom(Roomdetail roomdetail) {
		// TODO Auto-generated method stub
		return null;
	}
}
